package org.oak.service;

import org.oak.model.User;

/**
 * org.oak.service.UserService
 *
 * @author ZRS
 * @version V1.0
 * @since 2025/10/29 18:30
 */
public interface UserService {


    User getUserById(Long id);


    User updateUser(User user);

    /**
     * 删除缓存
     */
    void deleteUser(Long id);

    /**
     * 清除所有缓存
     */
    void clearCache();
}
